package com.hjqjl.mvvmdemo;

import android.app.Application;

import com.blankj.utilcode.util.Utils;

/**
 * 2022/9/13 16:16 wh
 */
public class MyApplication extends Application {
    private static MyApplication instance;

    //得到MainApplication的一个静态对象
    public static MyApplication getInstance() {
        return instance;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        Utils.init(this);
    }
}
